togglebutton: Fix actionable state tracking
authorMatthias Clasen <mclasen@redhat.com>
Thu, 10 Jun 2021 12:36:08 +0000 (08:36 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 10 Jun 2021 12:36:08 +0000 (08:36 -0400)
commit0a78a592ffbd8fbf4a7313dfd7ad68b637522964
tree51fe069abd6bda3d1aa4e6e093638c0fd16a9230
parent208c527fb32757f4f27588a94dcd5c292cfa3ae4
togglebutton: Fix actionable state tracking

If we have a GAction as model, we just have to let
the action helper handle the state updates. GtkButton
already calls gtk_action_helper_activate() for us.
gtk/gtktogglebutton.c